import com.lagou.edu.factory.BeanFactory;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;

public class ContainerServlet extends HttpServlet {

    @Override
    public void init() throws ServletException {
        super.init();
        try {
            BeanFactory.initAnnotations();
//            BeanFactory.initXmlBean();
        } catch (Exception e) {
            e.printStackTrace();
            throw new ServletException();
        }
    }
}
